#pragma once
#include "BurgerTimeMachine.h"

class CDiscoMachine:public CBurgerTimeMachine
{
protected:
	u8 SpriteRAM[0x20];
	u8 VideoControl2;
public:
	CDiscoMachine();
	~CDiscoMachine();
	int Init();
	void Poll();
	void RenderScreen(u8 *dest,int pitch);
	void RenderSprites(u8 *dest,int pitch);
	static u8 OpMainCPU(void *user,u32 addr);
	static u8 ReadMainCPU(void *user,u32 addr);
	static void WriteMainCPU(void *user,u32 addr,u8 data);
	static u8 ReadSoundCPU(void *user,u32 addr);
	static void WriteSoundCPU(void *user,u32 addr,u8 data);
};
